<template>
  <div class="box">
    <div class="nav">
      <p>餐饮管理</p>
      <navs/>
    </div>
    <div class="aa">
      <logout/>
        <router-view></router-view>
    </div>
  </div>
</template>

<script>
import navs from "../ui/navs";
import logout from '../ui/logout'
export default {
  components: {
    navs,
    logout
  }
};
</script>

<style lang="scss" scoped>
.box{
    display: flex;
    .aa{
        flex: 1;
        width: 100vh;
        height: 100vh;
    }
}
.nav {
  width: 200px;
  height: 100vh;
  background-color: rgb(84, 92, 100);
  p {
    width: 100%;
    height: 50px;
    background-color: cadetblue;
    text-align: center;
    line-height: 50px;
    font-weight: 700;
   
  }
}
</style>